package com.lagou.es_springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lagou.es_springcloud.pojo.Products;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

public interface ProductsMapper extends BaseMapper<Products> {

    @Select("select * from products where id = #{id}")
    Products findById(Integer id);
}
